package com.jinbiao.quasar.model;

import lombok.Data;
import org.sagacity.sqltoy.config.annotation.Column;
import org.sagacity.sqltoy.config.annotation.DataVersion;
import org.sagacity.sqltoy.config.annotation.Id;

import java.io.Serializable;
import java.sql.Types;
import java.util.Date;
@Data
public class BaseModel implements Serializable {
    @Id
    @Column(name = "id", type = Types.VARCHAR)
    private String id;
    @Column(name = "created_at", type = Types.DATE)
    private Date createdAt;
    @Column(name = "created_by", type = Types.VARCHAR)
    private String createdBy;
    @Column(name = "updated_at", type = Types.DATE)
    private Date updatedAt;
    @Column(name = "updated_by", type = Types.VARCHAR)
    private String updatedBy;
    @Column(name = "deleted_at", type = Types.DATE)
    private Date deletedAt;
    @Column(name = "sort", type = Types.BIGINT)
    private Integer sort;
    @Column(name = "stable", type = Types.VARCHAR)
    private String stable;
    @Column(name = "status", type = Types.VARCHAR)
    private String status;
    @Column(name = "memo", type = Types.VARCHAR)
    private String memo;
}
